{include file="public/header" /}
<!--<link rel="stylesheet" href="__ORG__/validform/css/validform.css">-->
<!--<script type="text/javascript" src="__ORG__/validform/js/Validform_v5.3.2_min.js"></script>-->
<body style="background:#F3F3F4;">
<div class="login_box">
    <h1>后台管理</h1>
    <h2>后台登录</h2>
    <div class="form">

        <p style="display:none; color:red">用户名不能为空</p>

        <form action="" method="post" class="demoform">
            <ul>
                <li>
                    <input type="text" name="username" class="text inputxt" placeholder="管理员用户名"/>
                    <span><i class="fa fa-user"></i></span>
                </li>
                <li>
                    <input type="password" name="password" class="text inputxt" placeholder="密码"/>
                    <span><i class="fa fa-lock"></i></span>
                </li>
                <li>
                    <input type="text" class="code " name="code"/>
                    <span><i class="fa fa-check-square-o"></i></span>
                    <img src="{:url('admin/login/verify')}" onclick="this.src='{:url("admin/login/verify")}?'+ Math.random()" style="cursor: pointer;" alt="">
                </li>
                <li>
                    <input type="submit" value="立即登陆"/>
                </li>
            </ul>
        </form>
        <p><a href="/">返回首页</a> &copy; 2013 - 2017 Powered by <a href="http://www.js-huachen.com/" target="_blank">http://www.js-huachen.com/</a></p>
    </div>
</div>
</body>
<script type="text/javascript">
    //$(".demoform").Validform();
/*    var demo=$(".demoform").Validform({
        tiptype:3,
        label:".label",
        showAllError:true,
        datatype:{
            "zh1-6":/^[\u4E00-\u9FA5\uf900-\ufa2d]{1,6}$/
        },
        ajaxPost:false
    });

    //通过$.Tipmsg扩展默认提示信息;
    //$.Tipmsg.w["zh1-6"]="请输入1到6个中文字符！";
    demo.tipmsg.w["*5-30"]="密码请输入5到30个字符！";
    demo.tipmsg.w["*4"]="请输入4位验证码！";

    demo.addRule([{
        ele:".inputxt:eq(0)",
        datatype:"*5-30"
    },
        {
            ele:".inputxt:eq(1)",
            datatype:"*5-30"
        },
        {
            ele:".inputxt:eq(2)",
            datatype:"*4",
            recheck:"password"
        }]);*/

</script>
{include file="public/footer" /}